package com.example.fitapp.activity.http.api.dynamic;

import com.example.fitapp.activity.http.util.ApiUtil;

import org.json.JSONObject;

public class UploadImage extends ApiUtil {
    public String mResponse;
    public UploadImage(String file, String name){
        addParams("file",file);
        addParams("name",name);
    }
    @Override
    protected void parseData(JSONObject jsonObject)  {
        mResponse = jsonObject.toString();
    }

    @Override
    protected String getUrl() {
        return "/v1/common/upload";
    }
}
